//
//  RDTimeTagCollectionViewCell.m
//  ReverseDiabetes
//
//  Created by 王佩璇 on 2024/8/26.
//

#import "RDTimeTagCollectionViewCell.h"
@interface RDTimeTagCollectionViewCell ()

@property (weak, nonatomic) IBOutlet UILabel *tagNameLab;

@end
@implementation RDTimeTagCollectionViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}


- (void)setModel:(RDBloodSugarTag *)model{
    _model = model;
    
    self.tagNameLab.text = model.tag_name;
}

-(void)selectCell:(BOOL)isSelect{
    if (isSelect) {
        self.backgroundColor = kMainColor;
    }else{
        self.backgroundColor = kBgGrayColor;
    }
}

@end
